/*
 * @Author: Mr · Lei
 * @Date: 2024-11-18 11:26:49
 * @LastEditors: OBKoro1
 * @LastEditTime: 2024-11-18 11:26:50
 * @FilePath: \ruituan-tuan-Agent\src\router\routes\modules\order.ts
 * @Description: 
 * 
 * Copyright (c) 2024 by 四川开局红科技有限公司, All Rights Reserved. 
 */
import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const TEAM: AppRouteRecordRaw = {
  path: '/team',
  name: 'team',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: 'menu.team',
    requiresAuth: true,
    icon: 'icon-user-group',
    order: 4,
  },
  children: [
    {
      path: 'team-incom',
      name: 'team-incom',
      component: () => import('@/views/team/team-income/index.vue'),
      meta: {
        locale: 'menu.team.income',
        requiresAuth: true,
        roles: ['*'],
      },
    },
    {
      path: 'team-list',
      name: 'team-list',
      component: () => import('@/views/team/team-list/index.vue'),
      meta: {
        locale: 'menu.team.list',
        requiresAuth: true,
        roles: ['*'],
      },
    },
    {
      path: 'team-order',
      name: 'team-order',
      component: () => import('@/views/team/team-order/index.vue'),
      meta: {
        locale: 'menu.team.order',
        requiresAuth: true,
        roles: ['*'],
      },
    },
    {
      path: 'team-store',
      name: 'team-store',
      component: () => import('@/views/team/team-store/index.vue'),
      meta: {
        locale: 'menu.team.store',
        requiresAuth: true,
        roles: ['*'],
      },
    },
    {
      path: 'team-fans',
      name: 'team-fans',
      component: () => import('@/views/team/team-fans/index.vue'),
      meta: {
        locale: 'menu.team.fans',
        requiresAuth: true,
        roles: ['*'],
      },
    }
  ],
};

export default TEAM;
